Repository navigation
Conversation
Agentic triage isn't billed yet. It now starts Autofix runs with SeerFeature.AGENTIC_TRIAGE, stored on the run, and credit checks skip runs with that feature: every step, the PR push, and single-run replies. Post-process automation skips token-billed orgs, since agentic triage handles their automations. Refs CW-3061
Dispatch reads it from the run mirror it already loads, and the PR push joins the mirror into its existing run query, so neither makes an extra query. Refs CW-3061
Checking existing_run_id directly lets mypy narrow it, and is_new_run can't drift from the lookup. Refs CW-3061
…-credits' into srest2021/CW-3061-agentic-triage-feature
…ge runs Feedback typed in the UI is credit-checked before it's queued. The run's feature is only read when the check refuses, so most requests make no extra query. Refs CW-3061
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d15d1c0. Configure here.
| if is_seer_seat_based_tier_enabled(group.organization): | ||
| if is_seer_seat_based_tier_enabled(group.organization) or features.has( | ||
| "organizations:token-billed-seer-enabled", group.organization | ||
| ): |
There was a problem hiding this comment.
Token-billed orgs lose Autofix automation
High Severity
Token-billed orgs now skip post-process Autofix, but agentic triage still only enrolls seat-based or free-cohort orgs (seer.night_shift.enable_for_legacy_orgs defaults to false). Paying token-billed orgs can be left with an issue summary and no automated Autofix.
Reviewed by Cursor Bugbot for commit d15d1c0. Configure here.
There was a problem hiding this comment.
Made ticket to enroll token-based orgs in AT: https://linear.app/getsentry/issue/CW-3081/enroll-token-billed-orgs-in-agentic-triage


Depends on #130284.
Agentic triage isn't billed yet, so nothing on a run it starts should be blocked for credits.
SeerFeature.AGENTIC_TRIAGE, stored on the run. The API can't set it.Note that Seer still tags these runs' LLM calls as
autofix. Tagging themagentic_triageis a Seer follow-up to make sure we're not billing for them anyway.Refs CW-3061